﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类RESULT_TEMP_DATA
     ///</summary>
     public class RESULT_TEMP_DATA
     {
         private int __ID= 0;
         private string __JCLSH="" ;
         private string __Temp1="" ;
         private string __Temp2="" ;
         private string __Temp3="" ;
         private string __Temp4="" ;
         private string __Temp5="" ;
         private string __Temp6="" ;
         private string __Temp7="" ;
         private string __Temp8="" ;
         private string __Temp9="" ;
         private string __Temp10="" ;
         private string __Temp11="" ;
         private string __Temp12="" ;
         private string __Temp13="" ;
         private string __Temp14="" ;
         private string __Temp15="" ;
         private string __Temp16="" ;
         private string __Temp17="" ;
         private string __Temp18="" ;
         private string __Temp19="" ;
         private string __Temp20="" ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public RESULT_TEMP_DATA()
         {
             this.__Changed.Add("ID",false);
             this.__Changed.Add("JCLSH",false);
             this.__Changed.Add("Temp1",false);
             this.__Changed.Add("Temp2",false);
             this.__Changed.Add("Temp3",false);
             this.__Changed.Add("Temp4",false);
             this.__Changed.Add("Temp5",false);
             this.__Changed.Add("Temp6",false);
             this.__Changed.Add("Temp7",false);
             this.__Changed.Add("Temp8",false);
             this.__Changed.Add("Temp9",false);
             this.__Changed.Add("Temp10",false);
             this.__Changed.Add("Temp11",false);
             this.__Changed.Add("Temp12",false);
             this.__Changed.Add("Temp13",false);
             this.__Changed.Add("Temp14",false);
             this.__Changed.Add("Temp15",false);
             this.__Changed.Add("Temp16",false);
             this.__Changed.Add("Temp17",false);
             this.__Changed.Add("Temp18",false);
             this.__Changed.Add("Temp19",false);
             this.__Changed.Add("Temp20",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__ID = 0;
             this.__JCLSH = "" ;
             this.__Temp1 = "" ;
             this.__Temp2 = "" ;
             this.__Temp3 = "" ;
             this.__Temp4 = "" ;
             this.__Temp5 = "" ;
             this.__Temp6 = "" ;
             this.__Temp7 = "" ;
             this.__Temp8 = "" ;
             this.__Temp9 = "" ;
             this.__Temp10 = "" ;
             this.__Temp11 = "" ;
             this.__Temp12 = "" ;
             this.__Temp13 = "" ;
             this.__Temp14 = "" ;
             this.__Temp15 = "" ;
             this.__Temp16 = "" ;
             this.__Temp17 = "" ;
             this.__Temp18 = "" ;
             this.__Temp19 = "" ;
             this.__Temp20 = "" ;
             this.__Changed["ID"] = false;
             this.__Changed["JCLSH"] = false;
             this.__Changed["Temp1"] = false;
             this.__Changed["Temp2"] = false;
             this.__Changed["Temp3"] = false;
             this.__Changed["Temp4"] = false;
             this.__Changed["Temp5"] = false;
             this.__Changed["Temp6"] = false;
             this.__Changed["Temp7"] = false;
             this.__Changed["Temp8"] = false;
             this.__Changed["Temp9"] = false;
             this.__Changed["Temp10"] = false;
             this.__Changed["Temp11"] = false;
             this.__Changed["Temp12"] = false;
             this.__Changed["Temp13"] = false;
             this.__Changed["Temp14"] = false;
             this.__Changed["Temp15"] = false;
             this.__Changed["Temp16"] = false;
             this.__Changed["Temp17"] = false;
             this.__Changed["Temp18"] = false;
             this.__Changed["Temp19"] = false;
             this.__Changed["Temp20"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[JCLSH]的数据
         /// </summary>
         public string JCLSH
         {
              set{ __JCLSH = value.Replace("'","’"); __Changed["JCLSH"] = true;}
              get{return __JCLSH;}
         }
         /// <summary>
         ///设置或获取类中的[Temp1]的数据
         /// </summary>
         public string Temp1
         {
              set{ __Temp1 = value.Replace("'","’"); __Changed["Temp1"] = true;}
              get{return __Temp1;}
         }
         /// <summary>
         ///设置或获取类中的[Temp2]的数据
         /// </summary>
         public string Temp2
         {
              set{ __Temp2 = value.Replace("'","’"); __Changed["Temp2"] = true;}
              get{return __Temp2;}
         }
         /// <summary>
         ///设置或获取类中的[Temp3]的数据
         /// </summary>
         public string Temp3
         {
              set{ __Temp3 = value.Replace("'","’"); __Changed["Temp3"] = true;}
              get{return __Temp3;}
         }
         /// <summary>
         ///设置或获取类中的[Temp4]的数据
         /// </summary>
         public string Temp4
         {
              set{ __Temp4 = value.Replace("'","’"); __Changed["Temp4"] = true;}
              get{return __Temp4;}
         }
         /// <summary>
         ///设置或获取类中的[Temp5]的数据
         /// </summary>
         public string Temp5
         {
              set{ __Temp5 = value.Replace("'","’"); __Changed["Temp5"] = true;}
              get{return __Temp5;}
         }
         /// <summary>
         ///设置或获取类中的[Temp6]的数据
         /// </summary>
         public string Temp6
         {
              set{ __Temp6 = value.Replace("'","’"); __Changed["Temp6"] = true;}
              get{return __Temp6;}
         }
         /// <summary>
         ///设置或获取类中的[Temp7]的数据
         /// </summary>
         public string Temp7
         {
              set{ __Temp7 = value.Replace("'","’"); __Changed["Temp7"] = true;}
              get{return __Temp7;}
         }
         /// <summary>
         ///设置或获取类中的[Temp8]的数据
         /// </summary>
         public string Temp8
         {
              set{ __Temp8 = value.Replace("'","’"); __Changed["Temp8"] = true;}
              get{return __Temp8;}
         }
         /// <summary>
         ///设置或获取类中的[Temp9]的数据
         /// </summary>
         public string Temp9
         {
              set{ __Temp9 = value.Replace("'","’"); __Changed["Temp9"] = true;}
              get{return __Temp9;}
         }
         /// <summary>
         ///设置或获取类中的[Temp10]的数据
         /// </summary>
         public string Temp10
         {
              set{ __Temp10 = value.Replace("'","’"); __Changed["Temp10"] = true;}
              get{return __Temp10;}
         }
         /// <summary>
         ///设置或获取类中的[Temp11]的数据
         /// </summary>
         public string Temp11
         {
              set{ __Temp11 = value.Replace("'","’"); __Changed["Temp11"] = true;}
              get{return __Temp11;}
         }
         /// <summary>
         ///设置或获取类中的[Temp12]的数据
         /// </summary>
         public string Temp12
         {
              set{ __Temp12 = value.Replace("'","’"); __Changed["Temp12"] = true;}
              get{return __Temp12;}
         }
         /// <summary>
         ///设置或获取类中的[Temp13]的数据
         /// </summary>
         public string Temp13
         {
              set{ __Temp13 = value.Replace("'","’"); __Changed["Temp13"] = true;}
              get{return __Temp13;}
         }
         /// <summary>
         ///设置或获取类中的[Temp14]的数据
         /// </summary>
         public string Temp14
         {
              set{ __Temp14 = value.Replace("'","’"); __Changed["Temp14"] = true;}
              get{return __Temp14;}
         }
         /// <summary>
         ///设置或获取类中的[Temp15]的数据
         /// </summary>
         public string Temp15
         {
              set{ __Temp15 = value.Replace("'","’"); __Changed["Temp15"] = true;}
              get{return __Temp15;}
         }
         /// <summary>
         ///设置或获取类中的[Temp16]的数据
         /// </summary>
         public string Temp16
         {
              set{ __Temp16 = value.Replace("'","’"); __Changed["Temp16"] = true;}
              get{return __Temp16;}
         }
         /// <summary>
         ///设置或获取类中的[Temp17]的数据
         /// </summary>
         public string Temp17
         {
              set{ __Temp17 = value.Replace("'","’"); __Changed["Temp17"] = true;}
              get{return __Temp17;}
         }
         /// <summary>
         ///设置或获取类中的[Temp18]的数据
         /// </summary>
         public string Temp18
         {
              set{ __Temp18 = value.Replace("'","’"); __Changed["Temp18"] = true;}
              get{return __Temp18;}
         }
         /// <summary>
         ///设置或获取类中的[Temp19]的数据
         /// </summary>
         public string Temp19
         {
              set{ __Temp19 = value.Replace("'","’"); __Changed["Temp19"] = true;}
              get{return __Temp19;}
         }
         /// <summary>
         ///设置或获取类中的[Temp20]的数据
         /// </summary>
         public string Temp20
         {
              set{ __Temp20 = value.Replace("'","’"); __Changed["Temp20"] = true;}
              get{return __Temp20;}
         }
    }
}
